package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiejie123
 * @since 2018-01-15
 */
@TableName("t_dot")
public class Dot extends Model<Dot> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 企业
     */
    private Integer deptid;
    /**
     * 网点名称
     */
    @TableField("dot_name")
    private String dotName;
    /**
     * 简称
     */
    @TableField("dot_short_name")
    private String dotShortName;
    /**
     * 联系人
     */
    @TableField("contacts_name")
    private String contactsName;
    /**
     * 联系号码
     */
    @TableField("contacts_phone")
    private String contactsPhone;
    /**
     * 地址
     */
    @TableField("contacts_adress")
    private String contactsAdress;
    /**
     * 提货点
     */
    @TableField("delivery_point")
    private String deliveryPoint;
    /**
     * 状态
     */
    @TableField("dot_status")
    private Integer dotStatus;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getDotName() {
        return dotName;
    }

    public void setDotName(String dotName) {
        this.dotName = dotName;
    }

    public String getDotShortName() {
        return dotShortName;
    }

    public void setDotShortName(String dotShortName) {
        this.dotShortName = dotShortName;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsAdress() {
        return contactsAdress;
    }

    public void setContactsAdress(String contactsAdress) {
        this.contactsAdress = contactsAdress;
    }

    public String getDeliveryPoint() {
        return deliveryPoint;
    }

    public void setDeliveryPoint(String deliveryPoint) {
        this.deliveryPoint = deliveryPoint;
    }

    public Integer getDotStatus() {
        return dotStatus;
    }

    public void setDotStatus(Integer dotStatus) {
        this.dotStatus = dotStatus;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Dot{" +
        "id=" + id +
        ", deptid=" + deptid +
        ", dotName=" + dotName +
        ", dotShortName=" + dotShortName +
        ", contactsName=" + contactsName +
        ", contactsPhone=" + contactsPhone +
        ", contactsAdress=" + contactsAdress +
        ", deliveryPoint=" + deliveryPoint +
        ", dotStatus=" + dotStatus +
        "}";
    }
}
